using HamcoWcs.Entitys.Bases;
using HamcoWcs.Entitys.DbInfos;
using System.Collections.Generic;

namespace HamcoWcs.Entitys.PlcInfos
{
    public class PlcInfo : BaseEntity
    {
        public string PlcName { get; set; }

        public string PlcIp { get; set; }

        public string PlcPort { get; set; }

        public string PlcType { get; set; }
        public int MaxBay { get; set; }

        // ppk add
        public string MachineName { get; set; }
        // ppk add
        public string PortName { get; set; }

        public List<DbInfo> DbInfos { get; set; } = new List<DbInfo>();
        public override string ToString()
        {
            return PlcName;
        }
    }
}